<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/8/11
 * Time: 12:26
 */

namespace Zch\LishangLaravelShop\Wap\Member;

use Illuminate\Support\Facades\Auth;

class Member
{
    public function guard()
    {
        return Auth::guard(config('wap.member.guard'));
    }

    public function __call($method, $parameters)
    {
        // ...传递参数的方式
        return $this->guard()->$method(...$parameters);
    }
}